package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 询价
 * @Author: jeecg-boot
 * @Date:   2024-01-24
 * @Version: V1.0
 */
@Data
@TableName("ysy_inquiry")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ysy_inquiry对象", description="询价")
public class YsyInquiry {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**所属用户id*/
	@Excel(name = "所属用户id", width = 15)
    @ApiModelProperty(value = "所属用户id")
	private String userId;
	/**询价时间*/
	@Excel(name = "询价时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "询价时间")
	private Date createTime;
	/**用户手机号*/
	@Excel(name = "用户手机号", width = 15)
    @ApiModelProperty(value = "用户手机号")
	private String userPhone;
	/**装货地地址*/
	@Excel(name = "装货地地址", width = 15)
    @ApiModelProperty(value = "装货地地址")
	private String zhdAddress;
	/**卸货地地址*/
	@Excel(name = "卸货地地址", width = 15)
    @ApiModelProperty(value = "卸货地地址")
	private String xhdAddress;
	/**距离*/
	@Excel(name = "距离", width = 15)
    @ApiModelProperty(value = "距离")
	private BigDecimal distance;
	/**大致价格*/
	@Excel(name = "大致价格", width = 15)
    @ApiModelProperty(value = "大致价格")
	private String price;
	/**用户昵称*/
	@Excel(name = "用户昵称", width = 15)
    @ApiModelProperty(value = "用户昵称")
	private String userName;
	/**装货地维度*/
	@Excel(name = "装货地维度", width = 15)
	@ApiModelProperty(value = "装货地维度")
	private String zhdLat;
	/**装货地经度*/
	@Excel(name = "装货地经度", width = 15)
	@ApiModelProperty(value = "装货地经度")
	private String zhdLng;
	/**卸货地维度*/
	@Excel(name = "卸货地维度", width = 15)
	@ApiModelProperty(value = "卸货地维度")
	private String xhdLat;
	/**卸货地经度*/
	@Excel(name = "卸货地经度", width = 15)
	@ApiModelProperty(value = "卸货地经度")
	private String xhdLng;
	/**装货地名称*/
	@Excel(name = "装货地名称", width = 15)
	@ApiModelProperty(value = "装货地名称")
	private String zhdName;

}
